﻿<UserControl x:Class="Shiny.SmartTravel.Controls.HelpContent"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <FlowDocumentScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto" IsTabStop="False">
        <FlowDocument FontFamily="Segoe UI"
                    FontSize="12"
                    PagePadding="5"
                        >
            <Section Foreground="DarkBlue" LineHeight="2">
                <Paragraph FontSize="35">SmartTravel</Paragraph>
            </Section>

            <Paragraph Foreground="Green" FontSize="19" LineHeight="4">Your smart travel info manager</Paragraph>
            <BlockUIContainer>
                <Rectangle Fill="#FF414141" Stroke="#FF414141" Width="367" Height="2"/>
            </BlockUIContainer>

            <Paragraph Foreground="Black" FontSize="19" LineHeight="4">Keyboard commands</Paragraph>
            <Section Foreground="#28A4CB" FontSize="12">
                <Table Margin="0,0,0,5"
                 TextAlignment="Left">
                    <Table.Resources>
                        <Style TargetType="{x:Type Paragraph}">
                            <Setter Property="Margin" Value="0,0,0,5" />
                        </Style>
                    </Table.Resources>
                    <Table.Columns>
                        <TableColumn />
                        <TableColumn />
                    </Table.Columns>

                    <TableRowGroup>
                        <TableRow>
                            <TableCell>
                                <Paragraph>ESC</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>Close application</Paragraph>
                            </TableCell>
                        </TableRow>
                        <TableRow>
                            <TableCell>
                                <Paragraph>ATL + F4</Paragraph>
                            </TableCell>
                            <TableCell>
                                <Paragraph>Close application</Paragraph>
                            </TableCell>
                        </TableRow>
                    </TableRowGroup>
                </Table>
            </Section>

        </FlowDocument>
    </FlowDocumentScrollViewer>
</UserControl>
